//
//  RemarksController.m
//  soccer
//
//  Created by 上官千城 on 15/9/5.
//  Copyright (c) 2015年 上官千城. All rights reserved.
//

#import "ORemarksController.h"

@interface ORemarksController ()

@end

@implementation ORemarksController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"备注";
    
    UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(10, 90, WIDTH-20, 40)];
    text.borderStyle = UITextBorderStyleRoundedRect;
    text.placeholder = @"请输入昵称";
    text.clearButtonMode = UITextFieldViewModeAlways;
    [self.view addSubview:text];
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc]initWithTitle:@"确定" style:UIBarButtonItemStyleDone target:self action:@selector(rightButton)];
}

-(void)rightButton
{
    NSLog(@"确定");
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
